home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 41
/
Amiga Format CD41 (1999-06)(Future Publishing)(GB)[!][issue 1999-07].iso
/
-readerstuff-
/
matt_briggs
/
eac
/
developers
/
tutorials
/
tutorial_11.eac
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS
UTF-8
Wrap
Text File
|
1999-04-21
|
441 b
|
20 lines
.----------------------------------------------------.
| This example shows you how to use the WRITEIF: , |
| ENDWRITE: and RND: commands. |
`----------------------------------------------------'
DEC:Number=0
NOBUSY:
PAGE:START
RND:Number:2
WRITEIF:Number=0
Random number = 0
ENDWRITE:
WRITEIF:Number=1
Random number = 1
ENDWRITE:
ADDOPT:Select another random number:START
ENDPAGE: